{extend name="public/layout"/}
{block name="title"}{$currentInfo.name}_{:web_config('web_title')}{/block}
{block name="head"}
<style>

</style>
{/block}
{block name="body"}
{include file="public/index_header" /}
<div class="page-content">
  <div class="inside-page">
    {include file="public/left_menu"/}
    <div class="content-box">
      {include file="public/index_location"/}
      <div class="article-box">
        <h2 class="article-title">
          {$currentInfo.name}
        </h2>
      <!--  <div class="article-info">
          <span>2020-02-09 17:27</span>
          <span>作者：欧美亚官方</span>
          <span>阅读量：36669</span>
        </div>-->
        <div class="article-content">
         {:html_out($currentInfo.class_content)}
        </div>
      </div>
    </div>
  </div>
</div>
{include file="public/index_footer" /}
{/block}
{block name="script"}
<script>
  Do('swiper', function (){
    var index_page = new Swiper('#index-page', {
      direction: 'vertical',
      mousewheel: true,
      pagination: {
        el: '.index-swiper-pagination',
        clickable: true,
        renderBullet: function (index, className) {
          return '<span class="' + className + '">' +'0'+ (index + 1) + '</span>';
        },
      },
    });
    var case_big = new Swiper('#case-big', {
      slidesPerView: 'auto',
      loop: true,
      pagination: {
        el: '.case-swiper-pagination',
        clickable: true,
      },
      nested:true,
    });
  })
</script>
{/block}